package net.oschina.kjtang.qywx.common.dao;

import net.oschina.kjtang.qywx.common.entity.Entity;

/**
 * Created by kjtang on 2017/12/1.
 */
public interface BaseDao<T extends Entity> {

    /**插入实体信息*/
    public int insert(T entity);

    /**修改实体信息*/
    public void update(T entity);

    /**删除实体信息*/
    public void delete(T entity);

    /**查询单个实体信息*/
    public T get(T entity);
}